package com.bt.att.model;

/**
 * Phone.
 *
 * @author Zakir Magdum
 */
public class Phone extends Comm {
    private String number;
    private String person;
    private String location;
    private String relation;
    private boolean family;

    public Phone() {}

    public Phone(String number, String person, boolean family) {
        this.number = number;
        this.person = person;
        this.family = family;
    }

    public Phone(String number, String person, boolean family, String location, String relation) {
        this.number = number;
        this.person = person;
        this.family = family;
        this.location = location;
        this.relation = relation;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public boolean isFamily() {
        return family;
    }

    public void setFamily(boolean family) {
        this.family = family;
    }
}
